package com.Cychat.commons.entity.pojo;


import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("menu")
public class Menu {
    @Schema(description="菜单ID")
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;
    @Schema(description="父菜单ID")
    private Integer parentId;
    @Schema(description="菜单名称")
    private String menuName;
    @Schema(description="菜单图标")
    private String menuIcon;
    @Schema(description="菜单路径")
    private String menuPath;
    @Schema(description="角色ID")
    private Integer roleId;
    @Schema(description="菜单显示排序序号")
    private Integer sortOrder;
    @Schema(description="菜单状态，0为隐藏，1为显示")
    private Integer status;
    @Schema(description="创建时间")
    private Date createTime;
    @Schema(description="修改时间")
    private Date updateTime;
}